package store;

/**
 * User: Test
 * Date: 12.03.2008
 * Time: 23:44:52
 */
public abstract class Field implements Comparable
{
    protected Column column;
    protected Object value;
    protected Row row;

    public Field(Column column, Row row, Object value)
    {
        this.column = column;
        this.row = row;
        this.value = value;
    }

    public Column getColumn() {
        return column;
    }

    public Row getRow() {
        return row;
    }

    public abstract Object getValue();

    public abstract void setValue(Object value);
}
